package teacher;

public abstract class StaffSystem {
    String name;
    int age;
    int salary;
    StaffSystem(){}
    StaffSystem(String name,int age,int salary){
        this.name=name;
        this.age=age;
        this.salary=salary;
    }
    abstract void Abstract();
     void GoWork(){
         System.out.println(name+"开始工作"+"他今年"+age+"岁"+"月薪"+salary);
    }
    void AfterWork(){
        System.out.println(name+"结束工作");
    }
}
